package com.buybuyyi.stylistcrm.resource.goods.dao.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.buybuyyi.stylistcrm.resource.goods.dao.DicMaterialBrandDao;
import com.buybuyyi.stylistcrm.resource.goods.mapper.DicMaterialBrandMapper;
import com.buybuyyi.stylistcrm.resource.goods.po.DicMaterialBrand;

@Repository
public class DicMaterialBrandDaoImpl implements DicMaterialBrandDao {
	@Autowired
	private DicMaterialBrandMapper dicMaterialBrandMapper;

	@Override
	public Long deleteByPrimaryKey(Long id) {
		return dicMaterialBrandMapper.deleteByPrimaryKey(id);
	}

	@Override
	public Long insert(DicMaterialBrand record) {
		return dicMaterialBrandMapper.insert(record);
	}

	@Override
	public Long insertSelective(DicMaterialBrand record) {
		return dicMaterialBrandMapper.insertSelective(record);
	}

	@Override
	public DicMaterialBrand selectByPrimaryKey(Long id) {
		return dicMaterialBrandMapper.selectByPrimaryKey(id);
	}

	@Override
	public Long updateByPrimaryKeySelective(DicMaterialBrand record) {
		return dicMaterialBrandMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public Long updateByPrimaryKey(DicMaterialBrand record) {
		return dicMaterialBrandMapper.updateByPrimaryKey(record);
	}

	@Override
	public List<DicMaterialBrand> getAllDicMaterialBrand() {
		return dicMaterialBrandMapper.getAllDicMaterialBrand();
	}
	
	
	
}